<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:64:"E:\WWW\movie.cc\public/../application/admin\view\index\home.html";i:1675754051;s:57:"E:\WWW\movie.cc\application\admin\view\common\header.html";i:1670904727;}*/ ?>
﻿<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="/static/admin/css/font-awesome/css/font-awesome.min.css">
  <link href="/static/admin/iconfont/iconfont.css" rel="stylesheet" type="text/css">
  <script src="/static/admin/js/jquery.min.js"></script>
  <link rel="stylesheet" href="/static/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="/static/admin/style/admin.css" media="all">
</head>


<div class="layui-fluid">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md12">
      <div class="layui-card">
        <div class="layui-card-header">欢迎 <?php echo $admin['adminname']; ?> 回来~ <span id="time"></span></div>
        <div class="layui-card-body">
          <blockquote class="layui-elem-quote"><?php echo $xt['webname']; ?>后台管理系统</blockquote>
        </div>
      </div>
    </div>
  </div>
</div>

<script type="text/javascript">
    $(document).ready(function () {
        function showTime() {
            var today = new Date;
            var y = today.getFullYear();
            var M = today.getMonth() + 1;
            var d = today.getDate();
            var w = today.getDay();
            var h = today.getHours();
            var m = today.getMinutes();
            var s = today.getSeconds();
            var week = ['星期天', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
            $("#time").html(y + '年' + M + '月' + d + '日  ' + '&nbsp;' + h + ':' + m + ':' + s + '&nbsp;' + week[w]);
        }
        showTime();                     //先调用下，否则还需一秒后才呈现
        setInterval(showTime, 1000);    //每1秒(1000毫秒)后调用 showTime()
    })
</script>
</body>
</html>